package com.jt.mall.common.po;

/**
 * @author wangning
 * @create 2021-12-24 14:53
 */
public class Item extends BasePojo{
	private static final long serialVersionUID = 118244912779526107L;
	/** 商品id，同时也是商品编号商品id，同时也是商品编号 */
	private Long id;
	/** 商品标题 */
	private String title;
	/** 商品卖点 */
	private String sell_point;
	/** 商品价格，单位为：分 */
	private Long price;
	/** 库存数量 */
	private Integer num;
	/** 商品条形码 */
	private String barcode;
	/** 商品图片 */
	private String image;
	/** 所属类目，叶子类目 */
	private Long cid;
	/** 商品状态，1-正常，2-下架，3-删除 */
	private Integer status;

	private ItemDesc itemDesc;

	public ItemDesc getItemDesc() {
		return itemDesc;
	}

	public void setItemDesc(ItemDesc itemDesc) {
		this.itemDesc = itemDesc;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSell_point() {
		return sell_point;
	}

	public void setSell_point(String sell_point) {
		this.sell_point = sell_point;
	}

	public Long getPrice() {
		return price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Item{" +
				"id=" + id +
				", title='" + title + '\'' +
				", sell_point='" + sell_point + '\'' +
				", price=" + price +
				", num=" + num +
				", barcode='" + barcode + '\'' +
				", image='" + image + '\'' +
				", cid=" + cid +
				", status=" + status +
				"} " + super.toString();
	}
}
